package inutan.gateway.model;


/**
 * 网关登录 验证userToken 返回
 */
public class GatewayMessageInfo {

    private String openId;
    private int status;
    private long userToken;
    private long userId;
    private int publisher;
    private long loginTime;

    public GatewayMessageInfo(int status) {
        this.status = status;
    }

    public GatewayMessageInfo(long userToken, long userId, int publisher, long loginTime) {
        this.userToken = userToken;
        this.userId = userId;
        this.publisher = publisher;
        this.loginTime = loginTime;
    }

    public int getStatus() {
        return status;
    }

    public long getUserToken() {
        return userToken;
    }

    public long getUserId() {
        return userId;
    }

    public int getPublisher() {
        return publisher;
    }

    public long getLoginTime() {
        return loginTime;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }
}
